package com.ruoyi.wq.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.wq.domain.WqUserPlay;
import com.ruoyi.wq.domain.vo.WqUserPlayVO;

/**
 * 达人陪玩Mapper接口
 * 
 * @author ruoyi
 * @date 2023-09-05
 */
public interface WqUserPlayMapper extends BaseMapper<WqUserPlay> {
    /**
     * 查询达人陪玩
     * 
     * @param id 达人陪玩主键
     * @return 达人陪玩
     */
    public WqUserPlay selectWqUserPlayById(String id);

    /**
     * 查询达人陪玩列表
     * 
     * @param wqUserPlay 达人陪玩
     * @return 达人陪玩集合
     */
    public List<WqUserPlay> selectWqUserPlayList(WqUserPlay wqUserPlay);

    /**
     * 新增达人陪玩
     * 
     * @param wqUserPlay 达人陪玩
     * @return 结果
     */
    public int insertWqUserPlay(WqUserPlay wqUserPlay);

    /**
     * 修改达人陪玩
     * 
     * @param wqUserPlay 达人陪玩
     * @return 结果
     */
    public int updateWqUserPlay(WqUserPlay wqUserPlay);

    /**
     * 删除达人陪玩
     * 
     * @param id 达人陪玩主键
     * @return 结果
     */
    public int deleteWqUserPlayById(String id);

    /**
     * 批量删除达人陪玩
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWqUserPlayByIds(String[] ids);

	public IPage<WqUserPlayVO> selectPageList(IPage<WqUserPlayVO> page, WqUserPlayVO wqUserPlay);

	public List<WqUserPlayVO> getPlayList(Long userId);

	public IPage<WqUserPlayVO> selectUserPageList(IPage<WqUserPlayVO> page, WqUserPlayVO wqUserPlay);
}
